package part1.q3;
/**
 * 进入队列的数据： 因为需要一个标识性的属性  count
 * @author Tommy
 *
 */
public class PetEnterQueue {
	private Pet pet;
	private long count; // 用来计数的
	public PetEnterQueue(Pet pet, long count) {
		this.pet = pet;
		this.count = count;
	}
	public Pet getPet() {
		return this.pet;
	}
	public long getCount() {
		return this.count;
	}
	public String getEnterType() {
		return this.pet.getType();
	}
}
